<template>
	<view class="cu-bar bg-white top">
		<view class="action">
			<text class="cuIcon-back text-gray" @click="back">返回</text> 
		</view>
		<view class="content text-bold">
			{{detail.name?detail.name:detail}}
		</view>
	</view>
</template>

<script>
	export default {
		props:["detail"],
		data() {
			return {
				title:''
			};
		},
			
		methods:{
			back(){
				this.$emit("back")
			}
		}
	}
</script>

<style lang="scss">
.top{
	// padding-top:50upx ;
	padding-top:  var(--status-bar-height);
}
.content{
	padding-top:  15upx;
	z-index:99
}
</style>
